<form action="<?php echo $controller;?>showlist/1" method="get" class="filter-form-wrap" enctype="multipart/form-data">
    <div class="filter-wrap flex-row flex-justify-between flex-align-start flex-nowrap">
        <div class="flex-column flex-justify-center flex-align-start flex-nowrap" style="width: 50%;">
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">加入时间</span>
                <input type="text" name="start" id="startpicker" class="marginLR-5" value="<?php if (isset($start)):?><?php echo $start;?><?php endif;?>">
                <span style="width: 20px;">至</span>
                <input type="text" name="end" id="endpicker" class="marginLR-5" value="<?php if (isset($end)):?><?php echo $end;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">销售员ID</span>
                <input type="text" name="fidcode" class="marginLR-5" style="width: 330px;" value="<?php if (isset($fidcode)):?><?php echo $fidcode;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">销售员名称</span>
                <input type="text" name="fname" class="marginLR-5" style="width: 330px;" value="<?php if (isset($fname)):?><?php echo $fname;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">微信昵称</span>
                <input type="text" name="fusername" class="marginLR-5" style="width: 330px;" value="<?php if (isset($fusername)):?><?php echo $fusername;?><?php endif;?>">
            </div>
        </div>
        <div class="flex-column flex-justify-center flex-align-start flex-nowrap" style="width: 50%;">
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">手机</span>
                <input type="text" name="fphone" class="marginLR-5" style="width: 330px;" value="<?php if (isset($fphone)):?><?php echo $fphone;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">上线</span>
                <input type="text" name="finvi" class="marginLR-5" style="width: 330px;" value="<?php if (isset($finvi)):?><?php echo $finvi;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">渠道</span>
                <select name="ftype" class="marginLR-5">
                    <option value="">全部</option>
                    <?php foreach ($slstypes as $st=>$sn):?>
                        <option value="<?php echo $st;?>" <?php if (isset($ftype)&&$ftype == $st):?><?php echo 'selected';?><?php endif;?>>
                            <?php echo $sn;?>
                        </option>
                    <?php endforeach;?>
                </select>
            </div>
            <div class="flex-row flex-align-start flex-justify-start marginTB-5">
                <div class="filter-btn btn">筛选</div>
                <div class="reset-btn btn" style="margin:0 10px;">重置</div>
            </div>
        </div>
    </div>
</form>
<script type="text/javascript">
    var config = {showAnim:'drop',dateFormat:'yy-mm-dd',changeMonth:true,changeYear: true,
        monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]};
    $('#startpicker').datepicker(config);
    $('#endpicker').datepicker(config);
</script>